﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entity.Car_Rental;
using Entity;

namespace Service.Rental
{
    /// <summary>
    /// 商品模块业务
    /// </summary>
    public interface IProductService : IGetService<Product>
    {
        /// <summary>
        ///  插入商品
        /// </summary>
        VMessage AddProduct(Product entity);

        /// <summary>
        /// 根据条件得到分页结果集
        /// </summary>
        /// <param name="vp"></param>
        /// <param name="pp"></param>
        /// <returns></returns>
        PagedList<Product> GetProduct(VPredication vp, PagingParam pp);
    }
}
